﻿using NExt.Core.Model.Base;

namespace NExt
{
    public class SplitButton : SplitButton<SplitButtonEvents>
    {
    }

    public abstract class SplitButton<TEvents>: Button<TEvents>
        where TEvents : SplitButtonEvents, new()
    {
        public IScript arrowHandler { get; set; }
        public string arrowTooltip { get; set; }
    }

    public class SplitButtonEvents : ButtonEvents
    {
        public IScript arrowclick { get; set; }
    }
}
